package com.young.cms.model.enums;

/**
 * 控件类型
 *
 * @author wangjy
 * @date 2022/03/20 18:20:29
 */
public enum EControlTypeEnum {
    INPUT("input", "输入框(input)")
//    ,JO_INPUT("joInput","输入下拉框(带提示的input)")
    , DATE("date", "日期选择")
    , TIME("time", "时间选择")
    , SELECT("select", "下拉选择(select)")
//    ,JO_SELECT("joSelect","jo下拉选择")
    , TEXTAREA("textarea", "大文本框(textarea)")
    , RADIO("radio", "单选(radio)")
    , CHECKBOX("checkbox", "多选(checkbox)")
//    ,TREE("tree","树选择(单选)")
//    ,TREES("trees","树选择(多选)")
//    ,LIST("list","列表选择(单选)")
//    ,LISTS("lists","列表选择(多选)")
    , LABEL("label", "文字");

    private String type;
    private String text;

    EControlTypeEnum(String type, String text) {
        this.type = type;
        this.text = text;
    }

    public String getType() {
        return type;
    }

    public String getText() {
        return text;
    }
}
